<template>
	<view class="indexPage">
		<common-nav />
		<video-list :list="list" />
		<common-tab />
	</view>
</template>
<script>
	export default {
		data() {
			return {
				list: [],
			};
		},
		onLoad() {
			this.get_videos();
		},
		methods: {
			get_videos() {
				this.list = [{
					id: 0,
					url: "http://feed.resrc.svideo.sogoucdn.com/videodown/110002/783/c7834d3dc7618143d9b710d60571d5be.mp4",
					"author": "李白",
					"author_picture": "https://picsum.photos/100/100?random=7",
					"title": "你好贵呢",
					"love_number": 1240,
					"comment_number": 1000,
					"share_number": 3330
				}, {
					id: 1,
					url: "http://feed.resrc.svideo.sogoucdn.com/videodown/110002/884/88bbb4c277e692499b4fbb37ee522e0f.mp4",
					"author": "王二麻子",
					"author_picture": "https://picsum.photos/100/100?random=1",
					"title": "我爱她",
					"love_number": 124,
					"comment_number": 290,
					"share_number": 333
				}, {
					id: 2,
					url: "http://feed.resrc.svideo.sogoucdn.com/videodown/110002/839/e83f9408f9eb4edb776786efbfa6abcf.mp4",
					"author": "张三",
					"author_picture": "https://picsum.photos/100/100?random=4",
					"title": "我爱她",
					"love_number": 1024,
					"comment_number": 1290,
					"share_number": 3303
				}, {
					id: 3,
					url: "http://feed.resrc.svideo.sogoucdn.com/videodown/110002/918/9ac1a88882d451ed2a5e0673f84b7c7b.mp4",
					"author": "好人的",
					"author_picture": "https://picsum.photos/100/100?random=3",
					"title": "我爱她",
					"love_number": 124,
					"comment_number": 2900,
					"share_number": 333
				}, {
					id: 4,
					url: "http://resource.yaokan.sogoucdn.com/videodown/4506/917/f9173c6e7db2324b39a791c4669de53d.mp4",
					"author": "亚瑟",
					"author_picture": "https://picsum.photos/100/100?random=3",
					"title": "购物",
					"love_number": 14,
					"comment_number": 20,
					"share_number": 33
				}];
			},
		},
	}
</script>
<style lang="scss" scoped>
</style>
